Skip to content

[clad] Bump clad to v2.2.#20250

Merged
dpiparo merged 1 commit intoroot-project:masterfrom
vgvassilev:clad-v2.2
Nov 3, 2025
Merged

[clad] Bump clad to v2.2.#20250
dpiparo merged 1 commit intoroot-project:masterfrom
vgvassilev:clad-v2.2

Conversation

@vgvassilev
Copy link
Member

@vgvassilev vgvassilev commented Oct 30, 2025

Clad 2.2, delivers improvements to differentiation pipelines, feature coverage, and language compatibility. It now supports clang versions 11–21, includes better handling of pointer, tensor, and reference types, and adds conversion operator and std::reference_wrapper support. Forward mode gains experimental OpenMP differentiation, while reverse mode introduces loop checkpointing, elidable reverse passes, and enhanced handling of complex expressions and memory operations. CUDA support expands with new Thrust operations, device vector support, and a logistic regression demo. The release also improves thread safety through lock-controlled tape access, refines error handling and diagnostics, and simplifies attribute-based memory management.

@github-actions
Copy link

github-actions bot commented Oct 30, 2025

Test Results

    22 files      22 suites   3d 14h 43m 47s ⏱️
 3 706 tests  3 706 ✅ 0 💤 0 ❌
79 581 runs  79 581 ✅ 0 💤 0 ❌

Results for commit 501c987.

♻️ This comment has been updated with latest results.

Clad 2.2, delivers improvements to differentiation pipelines, feature coverage,
and language compatibility. It now supports clang versions 11–21, includes
better handling of pointer, tensor, and reference types, and adds conversion
operator and `std::reference_wrapper` support. Forward mode gains experimental
OpenMP differentiation, while reverse mode introduces loop checkpointing,
elidable reverse passes, and enhanced handling of complex expressions and memory
operations. CUDA support expands with new Thrust operations, device vector
support, and a logistic regression demo. The release also improves thread safety
through lock-controlled tape access, refines error handling and diagnostics, and
simplifies attribute-based memory management.
@vgvassilev vgvassilev changed the title [clad] Bump to clad master. [clad] Bump clad to v2.2. Nov 2, 2025
@vgvassilev vgvassilev requested a review from guitargeek November 2, 2025 07:40
@vgvassilev vgvassilev marked this pull request as ready for review November 2, 2025 07:40
@vgvassilev vgvassilev requested a review from bellenot as a code owner November 2, 2025 07:40
Copy link
Contributor

@guitargeek guitargeek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much! This should go into the 6.38 release, as it enables an optimization that reduces the time to JIT the gradients of the CMS and ATLAS Higgs combination benchmarks by 25 % consistently.

See:
vgvassilev/clad#1616 (comment)

@dpiparo dpiparo merged commit 5e2ef44 into root-project:master Nov 3, 2025
50 of 51 checks passed
@vgvassilev vgvassilev deleted the clad-v2.2 branch November 3, 2025 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants